#ifndef ENTITY_H
#define ENTITY_H

#include "btBulletDynamicsCommon.h"
#include "src/graphics/be_color.h"
#include <vector>

using namespace std;

enum entityType {
	CRITTER = 0,
	FOOD,
	WALL
};

class Entity
{
	public:
		Entity();
    Entity(entityType type_in, BeColor color_in);
		virtual ~Entity();
		virtual void		draw() {};
    virtual void    draw(int colorsel) {};
    virtual bool    isPicked() { return ispicked; };
    virtual bool    isPicked(bool v) { ispicked = v; return this->isPicked(); };

		entityType	type;
		vector<BeColor>  colors;

    BeColor    getColor();
    BeColor    getColor(int colorsel);
    void       addColor(BeColor color);
//	private:  SJFIXME: should be private but is used directly in mousepicker via worldb.
		bool			ispicked;
};

#endif
